package com.painpointcloud.business.service.impl;
import com.painpointcloud.business.bean.UserMessage;
import com.painpointcloud.business.mapper.UserMessageMapper;
import com.painpointcloud.business.service.UserMessageService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

/**
 * Created by JackLeon on 2017/8/21 20:40
 * description:
 **/
@Service
public class UserMessageServiceImpl implements UserMessageService {
	@Autowired
	private UserMessageMapper mapper;


	@Override
	public List<UserMessage> selectUserMessageList(UserMessage param) {
		return mapper.selectUserMessageList(param);
	}

	@Override
	public List<UserMessage> selectUserMessageListCount(UserMessage param) {
		return mapper.selectUserMessageListCount(param);
	}

	@Override
	public int saveUserMessage(UserMessage param) {
		return mapper.saveUserMessage(param);
	}
}
